import com.pbking.util.eventHandling.Event;

/**
 * @author Jason Crist
 */
class com.pbking.util.AssetLoaderEvent extends Event {
	
	public static var LOAD_COMPLETE:String = "onLoadComplete";
	public static var LOAD_ERROR:String = "onLoadError";
	public static var LOAD_INIT:String = "onLoadInit";
	public static var LOAD_START:String = "onLoadStart";
	public static var LOAD_PROGRESS:String = "onLoadProgress";
	
	public var target:MovieClip;
	public var httpStatus:Number;
	public var errorCode:String;
	public var bytesLoaded:Number;
	public var bytesTotal:Number;
	
	function AssetLoaderEvent(eventType:String, target:Object, bytesTotal:Number, bytesLoaded:Number, httpStatus:Number, errorCode:String)
	{
		super(eventType, target);
		this.bytesTotal = bytesTotal;
		this.bytesLoaded = bytesLoaded;
		this.httpStatus = httpStatus;
		this.errorCode = errorCode;
	}
	
}